for $std in doc("division.xml")/DIVISION/GROUP/STUDENT, $s in doc("responses.xml")/CLASS/STUDENT
where $std/@sID = $s/@sid 
return if ($s/RESPONSES/MCRESPONSE/@qID="college")
		then <result>
		<SID>{$std/@sID}</SID>
		<COLLEGE>{data($s/RESPONSES/MCRESPONSE[@qID="college"]/ANSWER)}</COLLEGE>
		</result>
		else <result>
		<SID>{$std/@sID}</SID>
		<COLLEGE>no college reported</COLLEGE>
		</result>

